
<script type="text/javascript">
    jQuery(document).ready(function(){
        jQuery("#contact_save").validationEngine();
    });
</script>
<div class="post">
    <h2 class="title">Send us an email</h2>
    <div class="entry">
            <?php $data['id'] = "contact_save";
            $data['name'] = "contact_save"; ?>
            <?= form_open_multipart('welcome/contactSave', $data); ?>
            <div id="new_post">
                <div><h3>Your email:</h3><input class ="post_title validate[required,custom[email]]" id="email" type="text" name="email" /></div>
                <div><h3>Subject:</h3><input class ="post_title validate[required]" id="subject"  type="text" name="subject" /></div>
                <p></p>
                <div><textarea class ="post_content" style="width: 300px;" name="description"></textarea></div>
                <div>
                    <input class ="post_button" type="submit" value="Send"/>
                    <input class ="post_button" type="button" value="Cancel" onclick="gotoUrl('/')"/>
                </div>
            </div>
        </form>
    </div>
</div>